class CreateAccesses < ActiveRecord::Migration
  def self.up
    create_table :accesses do |t|
       t.column :course_id, :integer, :null => false
       t.column :app_user_id, :integer, :null => false
       t.column :user_type_id, :integer, :null => false

      t.timestamps
    end
  end

  def self.down
    drop_table :accesses
  end
end
